home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 48
/
PC Gamer IT CD 48 1-2.iso
/
age2
/
AoE2demo.exe
/
1033
/
CABFILE
/
MSGAME.CAB
/
Data
/
gamedata.drs
/
Unnamed File 000015.bina
< prev
next >
Wrap
Text File
|
1999-10-01
|
2KB
|
113 lines
(defrule
(difficulty >= easy)
(game-time > 300)
(soldier-count < five-percent-pop)
(unit-type-count villager < five-percent-pop)
=>
(set-goal 1 19)
(disable-self)
)
(defrule
(difficulty == moderate)
(game-time > 300)
(building-type-count wonder < 1)
(soldier-count < five-percent-pop)
(unit-type-count villager < five-percent-pop)
(not (can-train villager) )
=>
(set-goal 1 19)
(disable-self)
)
(defrule
(difficulty <= hard)
(game-time > 300)
(building-type-count wonder < 1)
(soldier-count == 0)
(unit-type-count cannon-galleon-line == 0)
(unit-type-count villager == 0)
(not (can-train villager) )
=>
(set-goal 1 19)
(disable-self)
)
(defrule
(goal 1 19)
(stance-toward any-human ally)
(difficulty <= moderate)
=>
(release-escrow wood)
(release-escrow food)
(release-escrow gold)
(release-escrow stone)
(tribute-to-player this-any-human wood 10000)
(tribute-to-player this-any-human food 10000)
(tribute-to-player this-any-human gold 10000)
(tribute-to-player this-any-human stone 10000)
(disable-self)
)
(defrule
(goal 1 19)
(players-population any-ally > 10)
(difficulty <= moderate)
=>
(release-escrow wood)
(release-escrow food)
(release-escrow gold)
(release-escrow stone)
(tribute-to-player this-any-ally wood 10000)
(tribute-to-player this-any-ally food 10000)
(tribute-to-player this-any-ally gold 10000)
(tribute-to-player this-any-ally stone 10000)
(disable-self)
)
;*****************************
;delete all units
(defrule
(goal 1 19)
(difficulty >= moderate)
=>
(delete-building watch-tower)
(delete-building guard-tower)
(delete-building keep)
(delete-building bombard-tower)
(delete-building castle)
)
(defrule
(goal 1 19)
(difficulty >= moderate)
(building-type-count watch-tower == 0)
(building-type-count guard-tower == 0)
(building-type-count keep == 0)
(building-type-count bombard-tower == 0)
(building-type-count castle == 0)
=>
(set-goal 1 9)
(disable-self)
)
(defrule
(goal 1 19)
(difficulty <= hard)
=>
(set-goal 1 9)
(disable-self)
)
;*****************************
;** All random taunts moved to aiexpert.txt
(defrule
(goal 1 9)
=>
(chat-to-all-using-range 22300 22)
(chat-to-all-using-id 22322)
;"No wonder thou wert victorious! I shalt abdicate."
(resign)
(disable-self)
)